//
//  DateTools.h
//  Birthday Reminder
//
//  Created by Andrei Marcu on 10/22/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface DateTools : NSObject

+ (NSDateComponents *)getDateComponentsFromDate:(NSDate *)fromDate toDate:(NSDate *)toDate;
+ (NSDateComponents *)getDateComponentsFromDate:(NSDate *)date;
+ (NSString *)getNumberOfYearsFromDate:(NSDate *)fromDate toDate:(NSDate *)toDate;
+ (NSString *)getStringNumberOfDaysFromDate:(NSDate *)fromDate toDate:(NSDate *)toDate;
+ (NSString *)getStringNumberOfMonthsFromDate:(NSDate *)fromDate toDate:(NSDate *)toDate;
+ (NSInteger)getDayComponentFromDate:(NSDate *)fromDate toDate:(NSDate *)toDate;
+ (NSInteger)getMonthComponentFromDate:(NSDate *)fromDate toDate:(NSDate *)toDate;
+ (NSInteger)getYearFromDate:(NSDate *)date;
+ (NSInteger)getMonthFromDate:(NSDate *)date;
+ (NSString *)getStringMonthFromDate:(NSDate *)date;
+ (NSInteger)getDayFromDate:(NSDate *)date;
+ (NSInteger)getNumberOfDaysFromDate:(NSDate *)fromDate toDate:(NSDate *)toDate;
+ (NSDate *)getNextBirthdayForDate:(NSDate *)date;

@end
